package com.yitongmao.bean;

import java.util.List;

/*
* 作者：梁伟航 on 2017/8/9 20:17
* 类的用途：
*/
public class OrderSuccessBean {

    /**
     * result : {"state":"1","code":"OK","url":null,"obj":null,"isRollBack":null,"message":"保存成功"}
     * pi : {"id":143,"code":"20171435800007","codePre":"2017","codeSuf":"5800007","userId":7,"payMode":"TRANSFER","payModeName":null,"payType":"ALL","remittanceCode":"aEGVDstD","remittanceDesc":null,"balancePrice":0,"addPrice":15000,"totalPrice":15000,"remark":"消费15000.0元","state":null,"backState":null,"instrument":null,"transactionIds":"157","type":"consume","createTime":"2017-08-09 20:15:52","finishTime":null,"version":0,"addressId":42,"shoppingIds":[248],"keys":["15"],"leaveMessage":["..."],"goodsType":"01","invoiceType":null,"invoiceName":null,"identifyNumber":null,"instruction":null,"phone":"18513254732","companyName":"jhd","orderCodes":"20171571500007"}
     * keyList : ["15"]
     */

    public ResultBean result;
    public PiBean pi;
    public List<String> keyList;

    public static class ResultBean {
        /**
         * state : 1
         * code : OK
         * url : null
         * obj : null
         * isRollBack : null
         * message : 保存成功
         */

        public String state;
        public String code;
        public Object url;
        public Object obj;
        public Object isRollBack;
        public String message;
    }

    public static class PiBean {
        /**
         * id : 143
         * code : 20171435800007
         * codePre : 2017
         * codeSuf : 5800007
         * userId : 7
         * payMode : TRANSFER
         * payModeName : null
         * payType : ALL
         * remittanceCode : aEGVDstD
         * remittanceDesc : null
         * balancePrice : 0
         * addPrice : 15000.0
         * totalPrice : 15000.0
         * remark : 消费15000.0元
         * state : null
         * backState : null
         * instrument : null
         * transactionIds : 157
         * type : consume
         * createTime : 2017-08-09 20:15:52
         * finishTime : null
         * version : 0
         * addressId : 42
         * shoppingIds : [248]
         * keys : ["15"]
         * leaveMessage : ["..."]
         * goodsType : 01
         * invoiceType : null
         * invoiceName : null
         * identifyNumber : null
         * instruction : null
         * phone : 18513254732
         * companyName : jhd
         * orderCodes : 20171571500007
         */

        public int id;
        public String code;
        public String codePre;
        public String codeSuf;
        public int userId;
        public String payMode;
        public Object payModeName;
        public String payType;
        public String remittanceCode;
        public Object remittanceDesc;
        public int balancePrice;
        public double addPrice;
        public double totalPrice;
        public String remark;
        public Object state;
        public Object backState;
        public Object instrument;
        public String transactionIds;
        public String type;
        public String createTime;
        public Object finishTime;
        public int version;
        public int addressId;
        public String goodsType;
        public Object invoiceType;
        public Object invoiceName;
        public Object identifyNumber;
        public Object instruction;
        public String phone;
        public String companyName;
        public String orderCodes;
        public List<Integer> shoppingIds;
        public List<String> keys;
        public List<String> leaveMessage;
    }
}
